<script>
export default {
  name: "son",
  props:["message"]
}
</script>

<template>
<section>
  <h1>我是子组件son父组件传递过来的数据是：{{message}}</h1>
</section>
</template>

<style scoped lang="less">
section{
  background-color: red;
}
</style>